package com.ruoyi.zzw.service;

import java.util.List;
import com.ruoyi.zzw.domain.DepartmentManage;

/**
 * 部门Service接口
 * 
 * @author ruoyi
 * @date 2023-12-06
 */
public interface TDepartmentManageService
{
    /**
     * 查询部门
     * 
     * @param cDepartmentId 部门主键
     * @return 部门
     */
    public DepartmentManage selectTDepartmentManageByCDepartmentId(Long cDepartmentId);

    /**
     * 查询部门列表
     * 
     * @param departmentManage 部门
     * @return 部门集合
     */
    public List<DepartmentManage> selectTDepartmentManageList(DepartmentManage departmentManage);

    /**
     * 新增部门
     * 
     * @param departmentManage 部门
     * @return 结果
     */
    public int insertTDepartmentManage(DepartmentManage departmentManage);

    /**
     * 修改部门
     * 
     * @param departmentManage 部门
     * @return 结果
     */
    public int updateTDepartmentManage(DepartmentManage departmentManage);

    /**
     * 批量删除部门
     * 
     * @param cDepartmentIds 需要删除的部门主键集合
     * @return 结果
     */
    public int deleteTDepartmentManageByCDepartmentIds(Long[] cDepartmentIds);

    /**
     * 删除部门信息
     * 
     * @param cDepartmentId 部门主键
     * @return 结果
     */
    public int deleteTDepartmentManageByCDepartmentId(Long cDepartmentId);
}
